<?php
/**
 * Created by PhpStorm.
 * User: trisatria
 * Date: 1/6/14
 * Time: 3:32 PM
 */

namespace Admin\Model;
use Zend\InputFilter\Factory as InputFactory;
use Zend\InputFilter\InputFilter;
use Zend\InputFilter\InputFilterAwareInterface;
use Zend\InputFilter\InputFilterInterface;

class AdminTopicTag{

    public $id;
    public $topic_id;
    public $tag_id;

    public function exchangeArray($data){

        $this->id     = (isset($data['id'])) ? $data['id'] : null;
        $this->topic_id = (isset($data['topic_id'])) ? $data['topic_id'] : null;
        $this->tag_id  = (isset($data['tag_id'])) ? $data['tag_id'] : 0;
    }




}
